import { createSSRApp } from "vue";
import App from "./App.vue";
import http from './utils/request'
import store from '@/store/index'
// Vue.prototype.$http = http
export function createApp() {
  const app = createSSRApp(App);
  	app.config.globalProperties.$http  = http;
	var data =store.getters.data
	// console.log(data.baseUrl)
	app.config.globalProperties.$store = store;
  return {
    app,
  };
}
